package com.atguigu.educenter.service;

import com.atguigu.educenter.entity.UcenterMember;
import com.atguigu.educenter.entity.vo.ChangeVo;
import com.atguigu.educenter.entity.vo.RegisterVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author testjava
 * @since 2021-01-02
 */
public interface UcenterMemberService extends IService<UcenterMember> {
    //登录
    String login(UcenterMember ucenterMember);

    //注册
    void register(RegisterVo registerVo);

    //判断数据库表里面是否存在相同的微信信息
    UcenterMember getOpenIdMember(String openid);

    //查询某一天注册人数
    Integer countRegister(String day);
    //更改密码
    void changePasswd(ChangeVo changeVo);


}
